package com.briup.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {
  private Integer id;
  private String name;
  private Double price;
  private String author;
  private String publisher;
  private String description;
  private String category;

  public Book(Integer id, String name) {
    this.id = id;
    this.name = name;
  }
}